package com.hellobike.haxing.modules.wms.utils;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;

public class WmsCodeGeneratorUtil {


    public static String createAsnCode(Long warehouseId) {
        return "ASN"+warehouseId+ IdWorker.getId();
    }

    public static String createTaskCode(Long warehouseId) {
        return "TK"+warehouseId+IdWorker.getId();
    }

    public static String createPutawayCode(Long warehouseId) {
        return "PA"+warehouseId+IdWorker.getId();
    }

    public static String createDeliveryOrderCode(Long warehouseId) {
        return "DO"+warehouseId+IdWorker.getId();
    }

    public static String createWaveCode(Long warehouseId) {
        return "WV"+warehouseId+IdWorker.getId();
    }

    public static String createPickCode(Long warehouseId) {
        return "PK"+warehouseId+IdWorker.getId();
    }

    public static String createShippingCode(Long warehouseId) {
        return "SHIP"+warehouseId+IdWorker.getId();
    }

    public static String createReturnWarehouseCode(Long warehouseId) {
        return "RTW"+warehouseId+IdWorker.getId();
    }

    public static String createReturnSupplierCode(Long warehouseId) {
        return "RTS"+warehouseId+IdWorker.getId();
    }

    public static String createCarOutCode(Long warehouseId) {
        return "CA"+warehouseId+IdWorker.getId();
    }

    public static String createBatchAttCode(Long warehouseId) {
        return "BC"+warehouseId+IdWorker.getId();
    }
}
